package com.joysuch.wwyt.mh.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.joysuch.wwyt.common.entity.UserDataEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author zqw
 * @since 2022-05-24
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("wwyt_mh_major_hazard_task_assign")
@ApiModel(value="MhMajorHazardTaskAssign对象", description="")
public class MhMajorHazardTaskAssign extends UserDataEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "任务id")
    private Long taskId;

    @ApiModelProperty(value = "用户id")
    private Long assignUser;

    @ApiModelProperty(value = "任务开始时间(时间戳秒数)")
    private Long taskStartTime;

    @ApiModelProperty(value = "任务结束时间(时间戳秒数)")
    private Long taskEndTime;

    @ApiModelProperty(value = "完成状态:0未完成 1已完成 2逾期")
    private Integer doneStatus;


}
